package bean;
/**
 * 学生实体
 **/

public class Student {
    private int id;
    private int sNumber;
    private String name;
    private String sex;
    private int scNumber;//班级号
    private int srNumber;//房间号

    public int getSbNumber() {
        return sbNumber;
    }

    public void setSbNumber(int sbNumber) {
        this.sbNumber = sbNumber;
    }

    private int sbNumber;
    private int tel;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getsNumber() {
        return sNumber;
    }

    public void setsNumber(int sNumber) {
        this.sNumber = sNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getScNumber() {
        return scNumber;
    }

    public void setScNumber(int scNumber) {
        this.scNumber = scNumber;
    }

    public int getSrNumber() {
        return srNumber;
    }

    public void setSrNumber(int srNumber) {
        this.srNumber = srNumber;
    }

    public int getTel() {
        return tel;
    }

    public void setTel(int tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", sNumber=" + sNumber +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", scNumber=" + scNumber +
                ", srNumber=" + srNumber +
                ", tel=" + tel +
                '}';
    }
}
